/**
 * 
 */
package abstractions;

import java.util.HashMap;

import server.ActiveDoc;
import static server.Server.*;
import emu.EMU;

/**
 * @author rdru
 * INV: 
 */
public class LoggedUser extends User {
	public int									id;
	public int									clientId;
	public volatile HashMap<Integer, ActiveDoc>	edits;		// <docId, Doc>

	public LoggedUser(int id, String logname, String password, String name, String email) {
		super(logname, password, name);
		this.id = nextUserId++;
		
		// add user to the EMU user list
		EMU.userList.add(this);
	
	}
}


